import React, { Component, PropTypes } from 'react';
import { ContextMenuLayer } from 'react-contextmenu';
import classNames from 'classnames';

/**
 * 文件树占位元素, 响应对根目录操作
 * @class {DirectoryPlaceholder}
 * @extends {React.Component}
 */
@ContextMenuLayer(
    'tree-view-context-menu',
    props => ({
        isDir: true, name: '/', path: '/'
    })
)
export default class DirectoryPlaceholder extends Component {
    render() {
        // 无内部元素
        return false;
    }
}